<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
    <base href="<%=basePath%>">
    <!-- 下拉框 -->
    <link rel="stylesheet" href="static/ace/css/chosen.css" />
    <!-- jsp文件头和头部 -->
    <%@ include file="../../system/index/top.jsp"%>
</head>
<body class="no-skin">
<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">
    <!-- /section:basics/sidebar -->
    <div class="main-content">
        <div class="main-content-inner">
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <form action="admin/portalUserInfo/addOrSub" name="form" id="form" method="post">
                            <input type="hidden" name="id" id="id" value="${id}"/>
                            <div id="zhongxin" style="padding-top: 13px;">
                                <table id="table_report" class="table table-striped table-bordered table-hover">
                                    <tr>
                                        <td style="width:20%;text-align: right;padding-top: 13px;">当前余额：</td>
                                        <td style="width:80%;"><input type="text" name="money" id="money" value="${money}" readonly="readonly" title="当前余额" style="width:98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td style="width:130px;text-align: right;padding-top: 13px;"><font color="red">*</font>调整方式：</td>
                                        <td id="addOrSubSelect">
                                            <select class="chosen-select form-control" name="addOrSub" id="addOrSub" data-placeholder="这里选择调整方式" style="width:120px;">
                                                <option value=""></option>
                                                <c:forEach items="${addOrSubList}" var="addOrSubItem">
                                                    <option value="${addOrSubItem.value}">${addOrSubItem.description}</option>
                                                </c:forEach>
                                            </select>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width:20%;text-align: right;padding-top: 13px;"><font color="red">*</font>调整额度：</td>
                                        <td style="width:80%;"><input type="text" name="quota" id="quota" placeholder="这里输入调整额度" title="调整额度" style="width:98%;"/></td>
                                    </tr>
                                    <tr>
                                        <td style="width:100px;text-align: right;padding-top: 13px;"><font color="red"></font><font color="red">*</font>备注：</td>
                                        <td>
                                            <textarea style="height: 90px; width: 327px;" id="buyExplain" name="buyExplain" placeholder="这里输入备注" title="备注"></textarea>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align: center;" colspan="10">
                                            <a class="btn btn-mini btn-primary" onclick="save();">保存</a>
                                            <a class="btn btn-mini btn-danger" onclick="top.Dialog.close();">取消</a>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                            <div id="zhongxin2" class="center" style="display:none"><br/><br/><br/><br/><img src="static/images/jiazai.gif" /><br/><h4 class="lighter block green"></h4></div>
                        </form>
                    </div>
                    <!-- /.col -->
                </div>
                <!-- /.row -->
            </div>
            <!-- /.page-content -->
        </div>
    </div>
    <!-- /.main-content -->
</div>
<!-- /.main-container -->
<!-- basic scripts -->
<!-- 页面底部js¨ -->
<%@ include file="../../system/index/foot.jsp"%>
<!-- ace scripts -->
<script src="static/ace/js/ace/ace.js"></script>
<!-- inline scripts related to this page -->
<!-- 模态框 -->
<script src="static/ace/js/bootbox.js"></script>
<!--参数校验-->
<script type="text/javascript" src="static/js/public/validate.js"></script>
<!-- 下拉框 -->
<script src="static/ace/js/chosen.jquery.js"></script>
<!--提示框-->
<script type="text/javascript" src="static/js/jquery.tips.js"></script>
<script type="text/javascript" src="static/js/admin/portaluser/portalUserInfo/addOrSub.js"></script>
</body>
<script type="text/javascript">
    $(top.hangge());
    //地址前缀
    var path = "${pageContext.request.contextPath}";
</script>
</html>
